﻿using System;
using COC.Algorithm;
using UnityEngine;
using System.Collections;
namespace COC.Management
{
    public class CacheManager : BaseManagement
    {
        protected internal PoolManager<String, Component> prefabPool;
        protected internal PoolManager<String, Component> uiPool;

        public CacheManager(GameObject target)
        {
            target.AddComponent<ObjectPool>();
            prefabPool = ObjectPool.getInstance();
        }
        public E getInstance<E>() where E : BaseManagement
        {
            E t = default(E);

            return t;
        }

    }

}